﻿<!-- Réalisé par Hamza MOUMMID -->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

        <head>
          <meta charset="utf-8" />
          <title>Aide</title>
          <meta http-equiv="content-type" content="text/html; charset=utf-8" />
          <meta name="viewport" content="width=device-width, initial-scale=1">
          <link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.0-rc.1/jquery.mobile-1.1.0-rc.1.min.css" />
          <script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
          <script src="http://code.jquery.com/mobile/1.1.0-rc.1/jquery.mobile-1.1.0-rc.1.min.js"></script>
        </head>
        <body>
        <div data-role="page">
            <div data-role="header">
                <h1>Demande intervention</h1>
            </div><!-- /header -->
            <div data-role="content">
                      <!--création de la forme d'authentification-->
                    <div data-role="fieldcontain">
                    <form action="demandeIntervention.php" method="POST">
                    <label for="objectif" data-theme="a" >Objectif :</label>
                    <input id="objectif" name="objectif" type="text" data-theme="d"  required />
                    <label for="designation" data-theme="e" >Designation :</label>
                    <select id="designation" name="designation" >
                    {foreach $tabdesignation as $desi} <!--On va avoir un nombre d'option egal à la size de $tab -->
                    <option >{$desi} </option>
                    {/foreach}
                     </select>
                    <label for="datedebut" data-theme="a" >Date debut :</label>
                    <input id="datedebut" type="date"  name="datedebut" value="{$d}" data-theme="d" required/>  <br />
            		    <label for="nomade" data-theme="d" required>Nomade destine :</label>
                    <select id="nomade" name="nomade" >
                    {foreach $tab as $nomade} <!--On va avoir un nombre d'option egal à la size de $tab -->
                    <option >{$nomade} </option>
                    {/foreach}
                     </select>
                    <input type="submit" value="Envoyer"  data-transition="pop" data-theme="d" />
                    <input type="reset" value="annuler"        data-theme="d" />
                    <a href="home.php" >Retour au menu</a>
                    </form>
                    </div>
                    <a href="#" data-transition="flip">A propos de nous</a>
            </div><!-- /content -->
            <div data-role="footer">
            <h4>&copy; Designed by MédiaFast</h4>
            </div>
        </div><!-- /page -->
        </body>
</html>
